package com.freud.logic.authorize.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.freud.logic.authorize.beans.User;

public interface AuthorizeMapper {

	List<User> getAll(RowBounds rb, @Param("role") String role);

	User get(@Param("id") Integer id, @Param("username") String username);

	void insert(User user);

	void update(User user);

	void delete(@Param("id") Integer id);
}
